package com.example.dao;

import com.example.domain.User;
import org.apache.ibatis.annotations.Insert;

public interface RegisterDao {
    // 注册新用户
    @Insert("INSERT INTO user (username, password, role) VALUES (#{username}, #{password}, 'student')")
    void insertUser(User user);
}
